home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / devices / prtgfx.m < prev    next >
Encoding:
Text File  |  2002-01-02  |  1.1 KB  |  61 lines

  1. MODULE    'graphics/rastport'
  2.  
  3. CONST    PCMYELLOW=0,
  4.         PCMMAGENTA=1,
  5.         PCMCYAN=2,
  6.         PCMBLACK=3,
  7.         PCMBLUE=0,
  8.         PCMGREEN=1,
  9.         PCMRED=2,
  10.         PCMWHITE=3
  11.  
  12. OBJECT ColorEntry
  13.     colorLong:ULONG,
  14.     colorByte[4]:UBYTE,
  15.     colorsByte[4]:BYTE
  16.  
  17. OBJECT PrtInfo
  18.     render:LONG,
  19.     rp|RP:PTR TO RastPort,
  20.     temprp:PTR TO RastPort,
  21.     RowBuf:PTR TO UWORD,
  22.     HamBuf:PTR TO UWORD,
  23.     ColorMap:PTR TO ColorEntry,
  24.     ColorInt:PTR TO ColorEntry,
  25.     HamInt:PTR TO ColorEntry,
  26.     Dest1Int:PTR TO ColorEntry,
  27.     Dest2Int:PTR TO ColorEntry,
  28.     ScaleX:PTR TO UWORD,
  29.     ScaleXAlt:PTR TO UWORD,
  30.     dmatrix:PTR TO UBYTE,
  31.     TopBuf:PTR TO UWORD,
  32.     BotBuf:PTR TO UWORD,
  33.     RowBufSize:UWORD,
  34.     HamBufSize:UWORD,
  35.     ColorMapSize:UWORD,
  36.     ColorIntSize:UWORD,
  37.     HamIntSize:UWORD,
  38.     Dest1IntSize:UWORD,
  39.     Dest2IntSize:UWORD,
  40.     ScaleXSize:UWORD,
  41.     ScaleXAltSize:UWORD,
  42.     PrefsFlags:UWORD,
  43.     special:ULONG,
  44.     xstart:UWORD,
  45.     ystart:UWORD,
  46.     width:UWORD,
  47.     height:UWORD,
  48.     pc:ULONG,
  49.     pr:ULONG,
  50.     ymult:UWORD,
  51.     ymod:UWORD,
  52.     ety:WORD,
  53.     xpos:UWORD,
  54.     threshold:UWORD,
  55.     tempwidth:UWORD,
  56.     flags:UWORD,
  57.     ReduceBuf:PTR TO UWORD, /* V44 additions */
  58.     ReduceBufSize:UWORD,
  59.     SourceHook:PTR TO Hook,
  60.     InvertHookBuf:PTR TO ULONG
  61.